package com.juyu.reader.pc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.juyu.reader.pc.dao.PayAutoDao;
import com.juyu.reader.pc.model.PayAuto;

@Service
public class PayAutoService {
	@Autowired
	public PayAutoDao payAutoDao;

	public List<PayAuto> findPayAuto(PayAuto payAuto) {
		return payAutoDao.findPayAuto(payAuto);
	}

	public int countPayAuto(PayAuto payAuto) {
		return payAutoDao.countPayAuto(payAuto);
	}

	public int insertPayAuto(PayAuto payAuto) {
		return payAutoDao.insertPayAuto(payAuto);
	}

	public int deletePayAuto(PayAuto payAuto) {
		return payAutoDao.deletePayAuto(payAuto);
	}
}
